/* pages/checkReport/index.wxss */
.page {
  .page-content {
    display: flex;
    flex-direction: column;

    .content-top {
      flex: 1;
      // border: 1px solid red;
      overflow: auto;

      .header {
        margin-top: 50rpx;
        width: 100%;
        height: 49rpx;
      }

      .attention {
        padding: 10rpx 28rpx;
        font-size: 28rpx;
        color: #555;
      }

      .foreword {
        padding: 20rpx 28rpx;

        .foreword-title {
          font-size: 30rpx;
          color: #333;
          font-weight: bold;
          line-height: 2;
        }

        .foreword-text {
          font-size: 28rpx;
          color: #333;
        }
      }

      .form-title {
        font-size: 30rpx;
        color: #333;
        font-weight: bold;
        padding: 0 28rpx;
        margin-top: 20rpx;
      }

      .form {
        padding: 30rpx 28rpx 0;
        box-sizing: border-box;

        .form-item {
          display: flex;
          align-items: center;
          justify-content: space-between;
          margin-bottom: 35rpx;

          .label {
            font-size: 30rpx;
            font-weight: normal;
            font-stretch: normal;
            letter-spacing: 0px;
            color: #333333;
            // border: 1px solid red;
            width: 210rpx;
          }

          .input-wrapper {
            flex: 1;
            height: 60rpx;
            border-radius: 6rpx;
            border: solid 1px #0087fd;
            position: relative;
            padding: 0 10rpx;

            .icon-arrow {
              position: absolute;
              right: 10rpx;
              top: 8rpx;
              width: 17rpx;
              height: 31rpx;
            }
          }
        }
      }

      .tools {
        padding: 20rpx 28rpx;

        .tools-title {
          font-size: 30rpx;
          color: #333;
          font-weight: bold;
          line-height: 2;
        }

        .tools-content {
          font-size: 28rpx;
          color: #333;
        }
      }

      .basis {
        padding: 20rpx 28rpx;

        .basis-title {
          font-size: 30rpx;
          color: #333;
          font-weight: bold;
          line-height: 2;
        }

        .basis-item {
          font-size: 28rpx;
          color: #333;
          line-height: 2;
        }
      }

      .check-record {
        margin-top: 40rpx;
        padding: 0 30rpx;

        .record-title {
          font-size: 30rpx;
          font-weight: normal;
          font-stretch: normal;
          letter-spacing: 0px;
          color: #333333;
          line-height: 2;
          font-weight: bold;

          .required {
            display: inline-block;
            margin-left: 10rpx;
            color: red;
          }

        }

        .record-hint {
          color: #999;
          font-size: 26rpx;
          line-height: 1.5;
          margin-bottom: 20rpx;
        }

        .record-text {
          width: 100%;
          // margin-top: 10rpx;
          min-height: 161rpx;
          border-radius: 6rpx;
          border: solid 1px #0087fd;
          box-sizing: border-box;
          padding: 20rpx;
          font-size: 26rpx;
        }

        .record-text-placeholder {
          font-size: 26rpx;
          font-weight: normal;
          font-stretch: normal;
          letter-spacing: 0px;
          color: #cccccc;
        }

        .image-title {
          font-size: 30rpx;
          font-weight: normal;
          font-stretch: normal;
          letter-spacing: 0px;
          color: #333333;
          line-height: 2;
          font-weight: bold;
          margin: 18rpx 0;
        }

        .images {
          .image-wrapper {
            display: inline-block;
            position: relative;

            &:not(:nth-of-type(6n)) {
              margin-right: 19rpx;
            }

            .delete {
              position: absolute;
              right: 0;
              top: 0;
              width: 40rpx;
              height: 40rpx;
              border-radius: 0 0 0 40rpx;
              background-color: rgba(0, 0, 0, 0.5);
              display: flex;
              align-items: center;
              justify-content: center;

              .icon-delete {
                color: red;
                font-size: 20rpx;
                transform: translate(25%, -10%);
              }
            }
          }

          image,
          .icon-add-image {
            display: inline-block;
            width: 98rpx;
            height: 98rpx;
            border: solid 3rpx #81bdf2;
            box-sizing: border-box;
          }



          .icon-add-image {
            position: relative;

            .icon {
              position: absolute;
              left: 50%;
              top: 50%;
              transform: translate(-50%, -50%);
              width: 70rpx;
              height: 70rpx;
              border: none;
            }
          }
        }
      }

      .signature {
        margin: 20rpx 0;
        padding: 0 30rpx;

        .signature-title {
          font-size: 30rpx;
          color: #333;
          font-weight: bold;
          line-height: 2;
        }

        .signature-subtitle {
          color: #999;
          font-size: 26rpx;
          line-height: 1.5;
          margin-bottom: 20rpx;
        }

        .signature-content {
          position: relative;
          width: 690rpx;
          height: 300rpx;
          background: rgb(238, 240, 243);

          .content-empty {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content:
              center;

            .icon-pen {
              width: 50rpx;
              height: 50rpx;
              margin-bottom: 16rpx;
            }

            .empty-text {
              color: #666;
              font-size: 26rpx;
              line-height: 1.5;
            }

          }

          .signatureImg {
            position: absolute;
            left: 196rpx;
            top: -196rpx;
            width: 300rpx;
            height: 690rpx;
            transform: rotate(-90deg);
          }

          .icon-close {
            position: absolute;
            right: 20rpx;
            top: 20rpx;
            z-index: 100;
          }
        }
      }
    }

    .content-bottom {
      margin: 20rpx 0;
      display: flex;
      align-items: center;
      justify-content: center;

      .btn-submit {
        width: 680rpx;
        height: 80rpx;
        background: #009DFF;
        border-radius: 10rpx;
        font-size: 36rpx;
        font-weight: bold;
        color: #F5F5F5;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    }

  }
}